<!DOCTYPE html>
{% extends "base.html" %}
{% import "bootstrap/wtf.html" as wtf %}
{% block page_content %}
<div class="page-header">
    <h1 align="center">Upload Photo</h1>
</div>
<div class="col-md-4 col-md-offset-5">
	<a href="{{ url_for('.photo_drive', username=current_user.username) }}">Upload</a> /
	<a href="{{ url_for('.manage_photo', username=current_user.username) }}">Manage</a>
	<hr>
<form method="POST" enctype="multipart/form-data">
    {{ form.hidden_tag() }}
    {{ form.photo(multiple="multiple") }}
    {% for error in form.photo.errors %}
        <span style="color: red;">{{ error }}</span>
    {% endfor %}
    {{ form.submit }}
</form>

</div>
{% endblock %}